package com.lp.biz.member.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

import static com.lp.common.constant.CommonConstant.*;

/**
 * @program: backend
 * @description: 训练营学员列表
 * @author: Ke.Song
 * @since: 2024-06-10 22:59:43
 */
@Data
public class TrainStudentList {

    private Integer id;

    private String nickName;

    private String phone;

    private String inviter;

    private List<TrainDetailInfo> trainDetailInfoList;

    @Data
    public static class TrainDetailInfo {

        private String trainName;

        private String className;

        private Integer status;

        @JsonFormat(timezone = TIMEZONE, pattern = DATE_TIME)
        private LocalDateTime createAt;
    }
}
